<?php
    require_once "/controller/CountryController.class.php";
    include_once "viewHelper.php";
    $continent_id = $f3->get('PARAMS.continentId');

    $country_controller = new CountryController($link);

    echo prepareResponse("200 OK", 200, $country_controller->getAllCountriesOnContinent($continent_id));
?>